﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FinMkts
{
    //HACK: this should be in Equity project but I can't get it to load via the Entity framework unless the class is defined in the Core project
    public class CommonStock : FinancialInstrument
    {
        public virtual long? SharesOnIssue { get; set; }

        //TODO: "first listed" is a property of the MarketListing - general property?
        //TODO: "delisted listed" is a property of the MarketListing - general property?
        //TODO: dividends
        //TODO: corporate actions
        //TODO: What about "trading suspended"?  Property of MarketListing or FinancialInstrument?
        public override string TypeName
        {
            get { return "Common Stock"; }
        }
    }

    //public class EquityAttribute : Attribute
    //{        
    //}
}
